package com.hrms.hrms_recruitment.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.hrms.hrms_recruitment.entity.RecruitDetail;
import lombok.Data;

import java.util.Date;

@Data
public class RecruitVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String proInsId;
    //提交人name
    private String name;
    //需求类型 0新增 1替换 2储备
    private Integer requirement;
    //需求类型 0新增 1替换 2储备
    private Integer level;
    //负责 HR
    private String hr;
    //表单状态 0草稿 1审批 2结束
    private Integer node;
    //期望到岗时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTC")
    private Date expectedTime;
    //状态
    private Integer state;
    //所在部门岗位
    private String currentStation;
    private String currentDepartment;

    private RecruitDetail recruitDetail;

}
